package com.hospital.api;

import com.hospital.api.factory.RemoteFileFallbackFactory;
import com.hospital.common.core.constants.ServiceNameConstants;
import com.hospital.common.core.module.controller.vo.PatientReqEntity;
import com.hospital.common.core.module.entity.PatientInfo;
import com.hospital.common.core.result.Tip;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.validation.BindingResult;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;

import javax.servlet.http.HttpServletRequest;

@FeignClient(contextId = "remoteInsuranceDipService",value = ServiceNameConstants.DIP_SERVICE,fallbackFactory = RemoteFileFallbackFactory.class)
public interface InsuranceDipService {

    @PostMapping("/dip/sendPeople")
    public String wxPayTransfer(String requestVal, HttpServletRequest request);

    @PostMapping("/dip/api")
    public String dipApi(String requestVal, HttpServletRequest request);


    @PostMapping("/dip/batchAllApi")
    public Tip dipApi(String requestVal);

}
